package com.ruicar.afs.cloud.bizcommon.print.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.bizcommon.dto.print.TemplateDto;
import com.ruicar.afs.cloud.bizcommon.print.entity.ComPrintFormSealMapping;
import com.ruicar.afs.cloud.bizcommon.print.vo.TemplateSealVo;
import com.ruicar.afs.cloud.bizcommon.print.vo.TemplateSignVo;

import java.util.List;

/**
 * 打印模板印章映射
 *
 * @author rongji.zhang
 * @version 1.0
 * @created 2020/8/6
 */
public interface ComPrintFormSealMappingService extends IService<ComPrintFormSealMapping> {

    IPage<TemplateSealVo> queryTempSealList(Page page, TemplateDto templateDto);

    IPage<TemplateSignVo> queryTempSignList(Page page, TemplateDto templateDto);

    /**
     * 获取签约列表数据
     * @param templateId
     * @return
     */
    public List<ComPrintFormSealMapping> getPrintFormSealMappingList(String templateId);
}
